package com.chtounet.keo.importer.xls.dto;

import java.util.ArrayList;
import java.util.List;

import com.chtounet.keo.importer.EventType;

/**
 * all the matches
 * @author chtounet
 *
 */
public class MatchsDTO {
	
	/**
	 * the matches are all... match.
	 */
	public static final EventType type = EventType.MATCH;
	
	/**
	 * the matches
	 */
	private List<MatchDTO> matches = new ArrayList<MatchDTO>();

	public List<MatchDTO> getMatches() {
		return matches;
	}

	public void setMatches(List<MatchDTO> matches) {
		this.matches = matches;
	}
	
	
	/**
	 * add a match in the matches list
	 * @param match a match
	 */
	public void addMatch(final MatchDTO match) {
		this.matches.add(match);
	}
	

}
